//
//  SrEcgData.h
//  sr01sdkProject
//
//  Created by  on 2024/1/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, CAECG_TYPE) {
    CAECG_TYPE_ONLY_ECG, // 只有ecg数据
    CAECG_TYPE_ECG_PPG,  // ecg 和 ppg混合
    
};


@interface CAEcgData : NSObject

@property(assign, nonatomic)uint8_t packCmdHead;

@property(assign, nonatomic)CAECG_TYPE type;
@property(strong, nonatomic)NSMutableArray<NSNumber *> *ecgArray;// 设备上报波形数据

@property(strong, nonatomic)NSMutableArray<NSNumber *> *ppgArray;

@property(assign, nonatomic)int idx;

@property(assign, nonatomic)BOOL isAlgorithData;

-(BOOL)isRow;

@end

NS_ASSUME_NONNULL_END
